<div data-hook="channel-form-container">
  <%= form_for [:admin, order], method: :put, url: set_channel_admin_order_url do |f| %>
    <fieldset>
    <div data-hook="admin_order_channel_field">
      <%= f.field_container :channel, class: %w[form-group] do %>
        <%= f.label :channel, Spree.t(:channel) %>
        <%= f.text_field :channel, name: 'channel', class: 'form-control' %>
        <%= f.error_message_on :channel %>
      <% end %>
    </div>
    <div class="form-actions" data-hook="buttons">
      <%= button Spree.t('actions.update'), 'refresh', 'submit', { class: 'btn-success', data: { disable_with: "#{ Spree.t(:saving) }..." }} %>
      <span class="or"><%= Spree.t(:or) %></span>
      <%= button_link_to Spree.t('actions.cancel'), edit_admin_order_url(order), icon: 'delete' %>
    </div>
    <fieldset>
  <% end %>
</div>
